package controllers

import (
	"beego/tool"
	"github.com/astaxie/beego"
)

type GetNickNameController struct {
	beego.Controller
}

func (c *GetNickNameController) Get() {

	c.Data["json"] = tool.GetNickName()
	c.ServeJSON()
}
